﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="reg.aspx.cs" Inherits="reg" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <link href="res/css/reg_style.css" type="text/css" rel="stylesheet" />
    <link href="res/css/style_regEmail_div.css" type="text/css" rel="stylesheet" />

    <script src="./res/js/comm/jquery_1.2.6.js" type="text/javascript"></script>
    <script src="./res/js/user/regjs.js" type="text/javascript"></script>
    <script src="./res/js/showhide.js" type="text/javascript"></script>

    <style type="text/css">
.notetab2 {
	BORDER-RIGHT: #adcde9 1px solid; PADDING-RIGHT: 6px; BORDER-TOP: #adcde9 1px solid; PADDING-LEFT: 6px; FONT-SIZE: 12px; PADDING-BOTTOM: 3px; BORDER-LEFT: #adcde9 1px solid; COLOR: #666; PADDING-TOP: 3px; BORDER-BOTTOM: #adcde9 1px solid; HEIGHT: 40px; BACKGROUND-COLOR: #edf7ff
}
.blue {
	COLOR: #6699cc
}
.validate {
	FONT-SIZE: 14px; LINE-HEIGHT: 22px
}
.yanzhen_gray {
	FONT-SIZE: 14px; COLOR: #999999
}
</style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table cellspacing="4" cellpadding="0" width="750" align="center" border="0">
                <tbody>
                    <tr>
                        <td width="155">
                            <img height="59" src="res/img/logo_130.jpg" width="136"></td>
                        <td valign="bottom" align="right" width="615">
                        </td>
                    </tr>
                </tbody>
            </table>
            <table cellspacing="1" cellpadding="0" width="850" align="center" border="0">
                <tbody>
                    <tr>
                        <td bgcolor="#6699cc" height="3">
                            <img height="1" src="res/img/spacer.gif" width="1"></td>
                    </tr>
                    <tr>
                        <td bgcolor="#cdeafa" height="30">
                            <table cellspacing="0" cellpadding="0" width="96%" align="center" border="0">
                                <tbody>
                                    <tr>
                                        <td align="right" height="30">
                                            <img height="17" src="res/img/help.gif" width="17" align="absMiddle"><a href="http://help.tianya.cn/about/regFAQ_20090223.htm"
                                                target="blank"></a></td>
                                    </tr>
                                </tbody>
                            </table>
                            <span class="style1"></span>
                        </td>
                    </tr>
                </tbody>
            </table>
            <br>
            <table cellspacing="1" cellpadding="0" width="850" align="center" border="0">
                <tr>
                    <td style="width: 500px;">
                        <table cellspacing="0" cellpadding="0" width="500" align="center" border="0">
                            <tbody>
                                <tr onmouseover='javascript:this.style.backgroundColor="#f3f3f3"' onmouseout='javascript:this.style.backgroundColor=""'>
                                    <td valign="bottom" align="right" width="150" height="50">
                                        用户名：</td>
                                    <td valign="bottom" width="200">
                                        <input id="login_name" onblur="javascript:CheckUserNameFunc()" onfocus="javascript:show('name_t');hide('psw_t');hide('psw_t2');hide('mail_t2');hide('key_t');"
                                            maxlength="16" size="26" name="login_name" runat="server"><span style="color: Red">&nbsp;*</span>
                                    </td>
                                    <td valign="bottom">
                                        &nbsp;<label id="CheckUserNameResult"></label>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <div id="name_t" style="display: none">
                            <table cellspacing="0" cellpadding="0" width="500" align="center" border="0">
                                <tbody>
                                    <tr>
                                        <td width="150">
                                            &nbsp;</td>
                                        <td class="notetab2" width="190">
                                            请输入中英文、数字、下划线的组合</td>
                                        <td width="360">
                                            &nbsp;</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <table cellspacing="0" cellpadding="0" width="500" align="center" border="0">
                            <tbody>
                                <tr onmouseover='javascript:this.style.backgroundColor="#f3f3f3"' onmouseout='javascript:this.style.backgroundColor=""'>
                                    <td valign="bottom" align="right" width="150" height="50">
                                        密码：</td>
                                    <td valign="bottom" width="200">
                                        <input id="userword" onblur="javaScript:CheckPWDFunc();" onfocus="javascript:hide('name_t');show('psw_t');hide('psw_t2');hide('mail_t2');hide('key_t');CheckPWDFunc();"
                                            type="password" maxlength="16" size="26" name="userword" runat="server"><span style="color: Red">&nbsp;*</span>
                                    </td>
                                    <td valign="bottom">
                                        &nbsp;<label id="CheckPWDResult"></label>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <div id="psw_t" style="display: none">
                            <table cellspacing="0" cellpadding="0" width="500" align="center" border="0">
                                <tbody>
                                    <tr>
                                        <td width="150">
                                            &nbsp;</td>
                                        <td class="notetab2" width="190">
                                            请输入6-20位的英文和数字的组合</td>
                                        <td width="360">
                                            &nbsp;</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <table cellspacing="0" cellpadding="0" width="500" align="center" border="0">
                            <tbody>
                                <tr onmouseover='javascript:this.style.backgroundColor="#f3f3f3"' onmouseout='javascript:this.style.backgroundColor=""'>
                                    <td valign="bottom" align="right" width="150" height="50">
                                        确认密码：</td>
                                    <td valign="bottom" width="200">
                                        <input id="userword2" onblur="javaScript:CheckPWDFunc2();" onfocus="javascript:hide('name_t');hide('psw_t');show('psw_t2');hide('mail_t2');hide('key_t');CheckPWDFunc2();"
                                            type="password" maxlength="16" size="26" name="userword2" runat="server"><span style="color: Red">&nbsp;*</span>
                                    </td>
                                    <td valign="bottom">
                                        &nbsp;<label id="CheckPWDResult2"></label>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <div id="psw_t2" style="display: none">
                            <table cellspacing="0" cellpadding="0" width="500" align="center" border="0">
                                <tbody>
                                    <tr>
                                        <td width="150">
                                            &nbsp;</td>
                                        <td class="notetab2" width="190">
                                            请再次输入密码</td>
                                        <td width="360">
                                            &nbsp;</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <table cellspacing="0" cellpadding="0" width="500" align="center" border="0">
                            <tbody>
                                <tr onmouseover='javascript:this.style.backgroundColor="#f3f3f3"' onmouseout='javascript:this.style.backgroundColor=""'>
                                    <td valign="bottom" align="right" width="150" height="50">
                                        您常用的邮箱：</td>
                                    <td valign="bottom" width="200">
                                        <input onmousedown="javaScript:CheckEMailFunc();" id="e_mail" onblur="javaScript:v8_CheckEMailFunc();"
                                            onclick="javascript:hide('name_t');hide('psw_t');hide('psw_t2');show('mail_t2');hide('key_t');"
                                            size="26" name="e_mail" runat="server" /><span style="color: Red">&nbsp;*</span>
                                    </td>
                                    <td valign="bottom">
                                        &nbsp;<label id="CheckEMailResult"></label>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <div id="mail_t2" style="display: none">
                            <table cellspacing="0" cellpadding="0" width="500" align="center" border="0">
                                <tbody>
                                    <tr>
                                        <td width="150">
                                            &nbsp;</td>
                                        <td class="notetab2" width="190">
                                            将发送注册确认邮件，请填写有效的邮箱地址，<font color="red">否则无法完成注册</font>。没有邮箱？请点击<a href="javascript:show('div_regEmail');">注册天涯邮箱</a></td>
                                        <td width="360">
                                            &nbsp;</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <table cellspacing="0" cellpadding="0" width="500" align="center" border="0">
                            <tbody>
                                <tr onmouseover='javascript:this.style.backgroundColor="#f3f3f3"' onmouseout='javascript:this.style.backgroundColor=""'>
                                    <td valign="bottom" align="right" width="150" height="50">
                                        您的手机号码：</td>
                                    <td valign="bottom" width="200">
                                        <input size="26" id="tbmobile" name="tbmobile"  runat="server" />
                                    </td>
                                    <td valign="bottom">
                                        &nbsp;<label id="Label1"></label>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <div id="mobile_t2" style="display: none">
                            <table cellspacing="0" cellpadding="0" width="500" align="center" border="0">
                                <tbody>
                                    <tr>
                                        <td width="150">
                                            &nbsp;</td>
                                        <td class="notetab2" width="190">
                                            将发送注册确认邮件，请填写有效的邮箱地址。没有邮箱？请点击<a href="http://mail.163.com">注册网易邮箱</a></td>
                                        <td width="360">
                                            &nbsp;</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <table cellspacing="0" cellpadding="0" width="500" align="center" border="0">
                            <tbody>
                                <tr onmouseover='javascript:this.style.backgroundColor="#f3f3f3"' onmouseout='javascript:this.style.backgroundColor=""'>
                                    <td valign="bottom" align="right" width="150" height="50">
                                        验证码：</td>
                                    <td valign="bottom" align="left" width="200">
                                        <input name="validateCode" type="text" id="validateCode" size="26" /></td>
                                    <td width="">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td>
                                    </td>
                                    <td>
                                        <span id="explainSpan"></span>
                                    </td>
                                    <td>
                                        <span id="validateSpan"></span><span id="__showvcTips" class="yanzhen_gray" style="cursor: hand"
                                            title=""></span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <div id="key_t" style="display: none">
                            <table cellspacing="0" cellpadding="0" width="500" align="center" border="0">
                                <tbody>
                                    <tr>
                                        <td width="150">
                                            &nbsp;</td>
                                        <td class="notetab2" width="190">
                                            请输入您看到的中国大写数字对应的阿拉伯数字!</td>
                                        <td width="360">
                                            &nbsp;</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <table cellspacing="0" cellpadding="0" width="500" align="center" border="0">
                            <tbody>
                                <tr>
                                    <td valign="bottom" align="right" width="150" height="40">
                                        <asp:CheckBox ID="CheckBox2" runat="server" /></td>
                                    <td valign="bottom" align="left" width="200">
                                        &nbsp;立即注册为商户/网上开店<span></span></td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                    <td style="width: 350px; vertical-align: top">
                        <table cellspacing="0" cellpadding="0" width="345" align="left" border="0">
                            <tbody>
                                <tr onmouseover='javascript:this.style.backgroundColor="#f3f3f3"' onmouseout='javascript:this.style.backgroundColor=""'>
                                    <td valign="bottom" align="left" width="350" height="50">
                                        <asp:CheckBox ID="CheckBox1" runat="server" />设置我的地图位置 <span></span>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="height: 5px;">
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <div id="map_canvas" style="width: 340px; height: 270px">
                                        </div>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </table>


            <br />
            <table cellspacing="0" cellpadding="0" width="850" align="center" border="0">
                <tbody>
                    <tr>
                        <td align="middle" height="30" style="border-top: 0px solid #ddd">
                            <label>
                                <input class="tianya_btn_gray" id="submitb" type="submit" value="立即注册" name="submitb" runat="server" onserverclick="submitb_ServerClick" />
                            </label>
                            <div id="div_SubNotice" style="display: none; z-index: 1000; width: 150px; position: absolute;
                                text-align: left">
                                &nbsp;<img height="16" src="res/img/tyad_comein_16x16.gif" width="16"><font style="font-size: 12px">&nbsp;提交中,请稍等...</font></div>
                        </td>
                        <td style="width: 200px;">
                        </td>
                    </tr>
                </tbody>
            </table>
            <br>
            <table cellspacing="4" cellpadding="0" width="750" align="center" border="0">
                <tbody>
                    <tr>
                        <td>
                            <br />
                            <br />

                            <script src="res/js/tianya_footer2.js" type="text/javascript"></script>

                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </form>

    <script src="res/js/json.js" type="text/javascript"></script>

    <script src="res/js/BaseFunc.js" type="text/javascript"></script>

    <script src="res/js/DefaultCheckFunc_online.js" type="text/javascript"></script>

    <script src="res/js/v8_json.js" type="text/javascript"></script>

    <script src="res/js/v8_DefaultCheckFunc_online.js" type="text/javascript"></script>

    <script src="res/js/EmailRegActiveFunc_defaultPage.js" type="text/javascript"></script>


<script src="http://ditu.google.cn/maps?file=api&amp;v=2&amp;key=ABQIAAAAOW8os7ZURif1sm4jvvQ-JRQ_9Nfz2Ph59mGHE9Iqt5t9TLgGBxQ0Pc2eGgRUrVRs49gc0uUVAEpkNg&hl=zh-CN"
        type="text/javascript"></script>
        
            <script type="text/javascript">

    function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(new GLatLng(21.47335778743915, 109.12702560424804), 14);
      }
    }
initialize();

            </script>
</body>
</html>
